{{ define "main" }}
<section class="hero" style="background-image: url('{{ .Params.banner.image }}')">
  <div class="container">
    <h1>{{ .Title }}</h1>
    <div class="content">
      {{ .Content }}
    </div>
  </div>
</section>

<!-- 添加其他自定义部分 -->
<section class="featured-posts">
  {{ range first 3 (where .Site.RegularPages "Params.featured" true) }}
    {{ .Render "summary" }}
  {{ end }}
</section>
{{ end }}